package com.bird.设计模式.创建型.建造者模式;

/**
 * @data 2022/2/14 10:48
 * @author: bird
 * @description:
 */
public class Test {
    public static void main(String[] args) {
        CourseBuilder courseBuilder = new CourseActualBuilder();
        Coach coach = new Coach();
        coach.setCourseBuilder(courseBuilder);
        Course course = coach.makeCourse(
                "java设计模式名称",
                "java设计模式PPT",
                "java设计模式视频",
                "java设计模式手记",
                "java设计模式问答");
        System.out.println(course);
    }
}
